<template>
  <div class="major">
    <!-- 显示类容 -->
  <transition mode="out-in"><!--给一个切换动画-->
    <router-view></router-view>
  </transition>
	
    <!-- 底部 -->
	<Tabbar/>
  </div>
</template>


<script>
import Tabbar from './Tabbar.vue' //引入底部
export default {
  name: 'app',
  components: {
	Tabbar

  }
}
</script>

<style scoped>
div{
  overflow-x: hidden
}
.major{
  padding-bottom: 50px;
}
.v-enter{
  opacity: 0;
}
/*.v-leave-to{
  opacity: 0;
 transform: translateX(-50%);
  position: absolute
}*/
.v-enter-active{
  transition: all 0.5s ease;
}
/*.v-leave-active{
  transition: all 0.5s ease;
}*/
 
</style>
